/*
 * @Author: wuqingchun
 * @Date: 2024-10-29 20:17:40
 * @Description: 
 * @LastEditors: wuqingchun
 * @LastEditTime: 2024-10-30 11:15:39
 */
#ifndef __NET_CONNECTION_ACTIVE_H__
#define __NET_CONNECTION_ACTIVE_H__

#include <netinet/in.h>

#include "net_connection_base.h"
#include "net_event_handler.h"

class CNetConnectionActive : public CNetConnectionBase
{
public:
    CNetConnectionActive(INetEventHandler& refEvHandler, INetTCPConnectionCallback& refCallback, const sockaddr_in& refAddr);
    ~CNetConnectionActive();

    int32_t Init();
    void Exit();
};

#endif //__NET_CONNECTION_ACTIVE_H__